package com.treeroot.treenet.protocol.abs.udp;


import java.util.function.Consumer;

/**
 * Create By TreeRoot
 * Create Time: 2023/12/18 03:41
 * Class Name: AbstractBaseUdpConnection
 * Description:
 * 抽象基础Upd连接
 *
 * @author TreeRoot
 */
public interface AbstractBaseUdpConnection {

    /**
     * 处理请求
     *
     * @param acceptConnectionConsumer 接受连接使用者
     */
    void handleRequest(Consumer<BaseUdpVo> acceptConnectionConsumer);

}
